package com.zh.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zh.domain.dto.requirement.AddRequirementCommentRequest;
import com.zh.domain.dto.requirement.PageReqCommentRequest;
import com.zh.domain.entity.ReqComments;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zh.domain.vo.requirement.RequirementCommentVo;
import com.zh.domain.vo.task.TaskCommentVo;

import java.util.List;

/**
 * @author Administrator
 * @description 针对表【req_comments(需求评论表)】的数据库操作Service
 * @createDate 2025-02-09 16:24:10
 */
public interface ReqCommentsService extends IService<ReqComments> {

    Boolean addReqComment(AddRequirementCommentRequest addTaskCommentRequest);

    void sendMessageWhenAdd(int loginId, ReqComments reqComments, List<Integer> atUserList);

    Page<RequirementCommentVo> pageReqComment(PageReqCommentRequest pageReqCommentRequest);
}
